//
//  ST_BaseNetModel.h
//  ST_BaseMall
//
//  Created by 昱胜 on 2022/9/2.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface ST_BaseNetModel : NSObject

/* 请求URL */
@property(nonatomic, copy) NSString *requestUrl;
/* 请求参数 */
@property(nonatomic,strong)NSDictionary *params;
/* 所有数据 */
@property(nonatomic, strong) NSDictionary *__nullable allResultData;
/* msg */
@property(nonatomic, copy) NSString *msg;
/* code */
@property(nonatomic, assign) NSInteger code;
/* total */
@property(nonatomic, assign) NSInteger total;
//具体数据(一般是Dictionary或Array)
@property(nonatomic,strong) id __nullable resultset;

+ (instancetype)successModel:(id)response urlString:(NSString *)urlString params:(NSDictionary * __nullable)params;

@end

NS_ASSUME_NONNULL_END
